﻿@model List<TestWebGrid.Models.WebModel>
@{
    ViewBag.Title = "Index";
    var webTable1 = new WebGrid(Model, columnNames: new[] { "name", "name1", "name2", "name3", "name4", "name5" });
    //webTable1.GetHtml();
}
<h2>
    Index</h2>
@webTable1.GetHtml(); @*columns:webTable1.Columns(webTable1.Column("name"),webTable1.Column("name1"),webTable1.Column("name2"),
webTable1.Column("name3"),webTable1.Column("name4"),webTable1.Column("name5"))      *@